package com.wyz.web.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wyz.common.po.OrderPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface OrderRepository extends BaseMapper<OrderPO> {

    void cancelOrder(long orderId);
    void confirmOrder(long orderId);

    void pickOrder(long receiverId, long orderId);
    void cancelPickOrder(long orderId);
    void confirmOrderArrived(long order_id);
}
